/* Lac Viet ERP                                                
 * Copyright (c) 2013 Lac Viet                                 
 * http://www.lacviet.com.vn                                   
 *=============================================================
 * File name            : IV_tblPickingListsLink.cs         
 * Created by           : Auto - 03/29/2014 10:21:30                     
 * Last modify          : Auto - 03/29/2014 10:21:30                     
 * Version              : 1.0                                  
 * ============================================================
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace LineOfBusiness.Poco
{
	[Serializable]
	public partial class IV_tblPickingListsLink : BaseEntity
	{
		public IV_tblPickingListsLink()
		{
		}

	    #region Properties

		private string _PickingNo;

        [Key]
		[RegularExpression(@"[a-zA-Z0-9_-]*")]
		[Required]
        [MaxLength(20)]
        public string PickingNo 
		{ 
			get
			{
                return _PickingNo;
			}
			set 
			{ 
                _PickingNo = value;
			} 
		}

		private string _SONo;

        [Key]
		[RegularExpression(@"[a-zA-Z0-9_-]*")]
		[Required]
        [MaxLength(20)]
        public string SONo 
		{ 
			get
			{
                return _SONo;
			}
			set 
			{ 
                _SONo = value;
			} 
		}
		/// <summary>
        /// Column: SR_tblSalesOrders.SONo
        /// </summary>
		public SR_tblSalesOrders SR_tblSalesOrders { get;set; }


        #endregion
	}
}
